<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>栏目列表</title>
	<hdjs/>
</head>
<body>
	<div class='wrap'>
		<div class="menu_list">
		    <ul>
		        <li><a href="{|U:'index'}"  class="action">栏目列表</a></li>
		        <li><a href="{|U:'add'}">添加栏目</a></li>
		    </ul>
		</div> 
	<table class='table2'>
		<thead>
			<tr>
				<td class='w30'>CID</td>
				<td>栏目名称</td>
				<td class='w200'>操作</td>
			</tr>
		</thead>
		<tbody>
			<list from='$data' name='$d'>
				<tr>
					<td>{$d.cid}</td>
					<td>{$d._name}</td>
					<td>
						<a href="{|U:'edit',array('cid'=>$d['cid'])}">编辑</a> |
						<a href="{|U:'add',array('pid'=>$d['cid'])}">添加子栏目</a> |
						<a href="{|U:'del',array('cid'=>$d['cid'])}" onclick='return confirm("确定删除子目录与所有文章吗?")'>删除</a> |
						<a href="">查看</a>
					</td>
				</tr>
			</list>
		</tbody>
	</table>
	</div>
</body>
</html>